package com.mobilepay.moneypig.response.home;

import com.google.gson.annotations.SerializedName;
import com.mobilepay.moneypig.response.ResponseResult;

import java.util.List;

/**
 * Created by xlm on 2017/8/2 0002
 */

public class LoanData extends ResponseResult {


    /**
     * data : {"loan":[{"title":"贷款列表","path":"http://www.hiima.cn/public/uploads/images/20170801/903700017fa14cb0e14e8725d9ccc737.png","url":""},{"title":"贷款轮播","path":"http://www.hiima.cn/public/uploads/images/20170801/078f7d304d93b616131a7e08a7ab0cbe.jpg","url":""}],"list":[{"id":2,"scene_id":3,"title":"分期管家","abstract":"参考日费率0.06%","main":"5000元额度任你提，最快3分钟到账","background":"","cover":"http://www.hiima.cn/public/uploads/images/20170802/b83dfd739c0e35ebded2de4bff10f143.png","url":"http://www.hiima.cn/promot/product/click_url/spm/110010_110100.696.html","start_time":0,"end_time":0,"bonus":"0.00","sort":100,"status":1,"create_time":1498269194,"update_time":1501667965},{"id":5,"scene_id":3,"title":"微盟贷款王","abstract":"参考日费率低至0.03%","main":"最快3分钟到帐 凭身份证和手机号就能贷","background":"","cover":"http://www.hiima.cn/public/uploads/images/20170802/f24f02907b666d7c7f8f57f364608d48.png","url":"http://www.hiima.cn/promot/product/click_url/spm/110110_110000.696.html","start_time":0,"end_time":0,"bonus":"0.00","sort":100,"status":1,"create_time":1501667704,"update_time":1501667704}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<LoanBean> loan;
        private List<ListBean> list;

        public List<LoanBean> getLoan() {
            return loan;
        }

        public void setLoan(List<LoanBean> loan) {
            this.loan = loan;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class LoanBean {
            /**
             * title : 贷款列表
             * path : http://www.hiima.cn/public/uploads/images/20170801/903700017fa14cb0e14e8725d9ccc737.png
             * url :
             */

            private String title;
            private String path;
            private String url;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class ListBean {
            /**
             * id : 2
             * scene_id : 3
             * title : 分期管家
             * abstract : 参考日费率0.06%
             * main : 5000元额度任你提，最快3分钟到账
             * background :
             * cover : http://www.hiima.cn/public/uploads/images/20170802/b83dfd739c0e35ebded2de4bff10f143.png
             * url : http://www.hiima.cn/promot/product/click_url/spm/110010_110100.696.html
             * start_time : 0
             * end_time : 0
             * bonus : 0.00
             * sort : 100
             * status : 1
             * create_time : 1498269194
             * update_time : 1501667965
             */

            private int id;
            private int scene_id;
            private String title;
            @SerializedName("abstract")
            private String abstractX;
            private String main;
            private String background;
            private String cover;
            private String url;
            private long start_time;
            private long end_time;
            private String bonus;
            private int sort;
            @SerializedName("status")
            private int statusX;
            private long create_time;
            private long update_time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getScene_id() {
                return scene_id;
            }

            public void setScene_id(int scene_id) {
                this.scene_id = scene_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAbstractX() {
                return abstractX;
            }

            public void setAbstractX(String abstractX) {
                this.abstractX = abstractX;
            }

            public String getMain() {
                return main;
            }

            public void setMain(String main) {
                this.main = main;
            }

            public String getBackground() {
                return background;
            }

            public void setBackground(String background) {
                this.background = background;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public long getStart_time() {
                return start_time;
            }

            public void setStart_time(int start_time) {
                this.start_time = start_time;
            }

            public long getEnd_time() {
                return end_time;
            }

            public void setEnd_time(int end_time) {
                this.end_time = end_time;
            }

            public String getBonus() {
                return bonus;
            }

            public void setBonus(String bonus) {
                this.bonus = bonus;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(long create_time) {
                this.create_time = create_time;
            }

            public long getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(long update_time) {
                this.update_time = update_time;
            }
        }
    }
}
